package com.gnerv.pabu.test.user.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "pabu-org")
public interface OrgService {

    @RequestMapping(value = "/get/{name}", method = RequestMethod.GET)
    String get(@PathVariable(value = "name") String name);

}
